package com.example.czxyindex.web.remote;

import com.yc.czxy.bean.Adva;
import org.checkerframework.checker.units.qual.C;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient("czxy-product")
@RequestMapping("adva")
public interface IAdvaAction {

    @GetMapping("queryAdva")
    List<Adva> queryAdva();

    @GetMapping("update")
    void updateSchedule();
}
